//
//  MapData.h
//  DefenseSummoner
//
//  Created by vupham on 5/28/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "cocos2d.h"

@interface MapData : NSObject{
    NSString *mapBackground;
    float wayWidth;
    NSMutableArray *ways;
    NSMutableArray *towersPos;
    NSMutableArray *waves;
    int startingMoney;
    int numberOfWaypoints;
}

@property (retain, nonatomic) NSString *mapBackground;
@property (nonatomic) float wayWidth;
@property (retain, nonatomic) NSMutableArray *ways;
@property (retain, nonatomic) NSMutableArray *towersPos;
@property (retain, nonatomic) NSMutableArray *waves;
@property (nonatomic) int startingMoney;
@property (nonatomic) int numberOfWaypoints;
-(id)initMapData;
-(NSMutableArray*)getPointArrayFromTileMapGroup:(CCTMXObjectGroup*)_group;
-(void)getWaypointsFromTileMap;
-(void)getTowersPositionsFromTileMap;
@end
